package io.renren.modules.app.service.impl;
import java.util.List;
import io.renren.modules.app.dao.TZnmhFunctionrolesDao;
import io.renren.modules.app.entity.TZnmhFunctionroles;
import io.renren.modules.app.service.TZnmhFunctionrolesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TZnmhFunctionrolesServiceImpl implements TZnmhFunctionrolesService{
    @Autowired
    private TZnmhFunctionrolesDao tZnmhFunctionrolesDao;
    @Override
    public long getTZnmhFunctionrolesRowCount(){
        return tZnmhFunctionrolesDao.getTZnmhFunctionrolesRowCount();
    }
    @Override
    public List<TZnmhFunctionroles> selectTZnmhFunctionroles(){
        return tZnmhFunctionrolesDao.selectTZnmhFunctionroles();
    }
    @Override
    public TZnmhFunctionroles selectTZnmhFunctionrolesByObj(TZnmhFunctionroles obj){
        return tZnmhFunctionrolesDao.selectTZnmhFunctionrolesByObj(obj);
    }
    @Override
    public TZnmhFunctionroles selectTZnmhFunctionrolesById(String id){
        return tZnmhFunctionrolesDao.selectTZnmhFunctionrolesById(id);
    }
    @Override
    public int insertTZnmhFunctionroles(TZnmhFunctionroles value){
        return tZnmhFunctionrolesDao.insertTZnmhFunctionroles(value);
    }
    @Override
    public int insertNonEmptyTZnmhFunctionroles(TZnmhFunctionroles value){
        return tZnmhFunctionrolesDao.insertNonEmptyTZnmhFunctionroles(value);
    }
    @Override
    public int insertTZnmhFunctionrolesByBatch(List<TZnmhFunctionroles> value){
        return tZnmhFunctionrolesDao.insertTZnmhFunctionrolesByBatch(value);
    }
    @Override
    public int deleteTZnmhFunctionrolesById(String id){
        return tZnmhFunctionrolesDao.deleteTZnmhFunctionrolesById(id);
    }
    @Override
    public int updateTZnmhFunctionrolesById(TZnmhFunctionroles enti){
        return tZnmhFunctionrolesDao.updateTZnmhFunctionrolesById(enti);
    }
    @Override
    public int updateNonEmptyTZnmhFunctionrolesById(TZnmhFunctionroles enti){
        return tZnmhFunctionrolesDao.updateNonEmptyTZnmhFunctionrolesById(enti);
    }

    public TZnmhFunctionrolesDao getTZnmhFunctionrolesDao() {
        return this.tZnmhFunctionrolesDao;
    }

    public void setTZnmhFunctionrolesDao(TZnmhFunctionrolesDao tZnmhFunctionrolesDao) {
        this.tZnmhFunctionrolesDao = tZnmhFunctionrolesDao;
    }

}